package cn.iocoder.yudao.module.wine.controller.app.supplyoptional.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - 供求自选条件分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppSupplyOptionalPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    /**
     * 置顶
     */
    @Schema(description = "置顶")
    private Integer isTop;

    @Schema(description = "香型", example = "1")
    private Integer fragranceType;

    @Schema(description = "酒类id", example = "1")
    private Integer supplyTypeId;

    @Schema(description = "年份")
    private Integer showYear;

    @Schema(description = "包装", example = "1")
    private Integer packing;
}
